import datetime


def second2str(second: int) -> str:
    t = datetime.datetime.fromtimestamp(second)
    return t.strftime('%Y-%m-%d %H:%M:%S')


if __name__ == '__main__':
    print(second2str(1654535071))
